From e8c0fa5a6d6bf9e4b79d2ad5705ec23d65ce0579 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Tue, 23 Aug 2005 19:17:46 +0000 Subject: [PATCH] Put the call to notifier_call_chain() back in do_xenbus_probe(). This fixes some dom0 activities, such as ballooning, sysrqing, and cpu hotplugging. Signed-off-by: Dan Smith Signed-off-by: Christian Limpach --- linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c index d5fe6cc2f3..92a9c4a825 100644 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c @@ -627,6 +627,8 @@ int do_xenbus_probe(void *unused) /* Watch for changes. */ register_xenbus_watch(&fe_watch); register_xenbus_watch(&be_watch); + /* Notify others that xenstore is up */ + notifier_call_chain(&xenstore_chain, 0, 0); up(&xenbus_lock); return 0; } -- 2.30.2